package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by user1 on 2017/7/3.
 */

public class MemberCardListBean {

    /**
     * status : 200
     * message : 成功
     * debug : {}
     * attachment : {"kuaituConcessionCardModels":[{"id":"1","type":"1","name":"月卡","amount":"10","description":"购买成功后30天免费骑行"},{"id":"2","type":"2","name":"季卡","amount":"30","description":"购买后90天免费骑行"}]}
     */

    @SerializedName("status")
    private String status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private DebugBean debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DebugBean getDebug() {
        return debug;
    }

    public void setDebug(DebugBean debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class DebugBean {
    }

    public static class AttachmentBean {
        @SerializedName("kuaituConcessionCardModels")
        private List<KuaituConcessionCardModelsBean> kuaituConcessionCardModels;

        public List<KuaituConcessionCardModelsBean> getKuaituConcessionCardModels() {
            return kuaituConcessionCardModels;
        }

        public void setKuaituConcessionCardModels(List<KuaituConcessionCardModelsBean> kuaituConcessionCardModels) {
            this.kuaituConcessionCardModels = kuaituConcessionCardModels;
        }

        public static class KuaituConcessionCardModelsBean {
            /**
             * id : 1
             * type : 1
             * name : 月卡
             * amount : 10
             * description : 购买成功后30天免费骑行
             */

            @SerializedName("id")
            private String id;
            @SerializedName("type")
            private int type;
            @SerializedName("name")
            private String name;
            @SerializedName("amount")
            private String amount;
            @SerializedName("description")
            private String description;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }
        }
    }
}
